binary/kernel.bin : binary/start.o binary/main.o
	ld -T link.ld -o binary/kernel.bin binary/start.o binary/main.o

binary/main.o : main.c
	gcc -Wall -O -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -c -o binary/main.o main.c

binary/start.o : start.asm
	nasm -f aout -o binary/start.o start.asm


